- verification_status = signature&.verification_status
- if verification_status
  - uri = "projects/commit/#{'x509/' if signature.x509?}"
  = render partial: "#{uri}#{verification_status}_signature_badge", locals: { signature: signature }
- else
  = render partial: 'projects/commit/unverified_signature_badge', locals: { signature: nil }
